package com.roc.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 分润查询obj
 * @author zx
 *
 */
@Entity
@Table(name = "t_profit_share")
public class ProfitShare implements Serializable {
	
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "profitShareSeq")
	@SequenceGenerator(name = "profitShareSeq", sequenceName = "T_PROFIT_SHARE_SEQ")
	private long id;
	
	@Column(name = "agent_name")
	private String agentName;//代理商名称
	
	@Column(name = "agent_id")
	private String agentId;//代理商ID
	
	@Column(name = "transdate")
	private String transdate;//统计年月
	
	@Column(name = "MCC_TYPE_NAME")
	private String mccTypeName;//mmc名称
	
	@Column(name = "count1")
	private String count1;//笔数
	
	@Column(name = "amount")
	private String amount;//交易金额
	
	@Column(name = "fenrun_AMT")
	private BigDecimal fenrunAmt;//分润金额
	
	@Column(name = "merfee")
	private String merfee;//手续费
	
	@Column(name = "DT_CREATE")
	  private Date dtCreate; 
	
	@Column(name = "DT_LASTMOD")
	  private Date dtLastmod; 


	public String getAgentName() {
		return agentName;
	}
	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}
	public String getMccTypeName() {
		return mccTypeName;
	}
	public void setMccTypeName(String mccTypeName) {
		this.mccTypeName = mccTypeName;
	}
	public String getCount1() {
		return count1;
	}
	public void setCount1(String count1) {
		this.count1 = count1;
	}
	public String getAmount() {
		return amount;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}

	public BigDecimal getFenrunAmt() {
		return fenrunAmt;
	}
	public void setFenrunAmt(BigDecimal fenrunAmt) {
		this.fenrunAmt = fenrunAmt;
	}
	public String getMerfee() {
		return merfee;
	}
	public void setMerfee(String merfee) {
		this.merfee = merfee;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getAgentId() {
		return agentId;
	}
	public void setAgentId(String agentId) {
		this.agentId = agentId;
	}
	public String getTransdate() {
		return transdate;
	}
	public void setTransdate(String transdate) {
		this.transdate = transdate;
	}
	public Date getDtCreate() {
		return dtCreate;
	}
	public void setDtCreate(Date dtCreate) {
		this.dtCreate = dtCreate;
	}
	public Date getDtLastmod() {
		return dtLastmod;
	}
	public void setDtLastmod(Date dtLastmod) {
		this.dtLastmod = dtLastmod;
	}
	

}
